//TriPrism.h
//Contains the class definition for the Triangular Prism Class

#include <iostream>
#include "Triangle.h"

using namespace std;

#ifndef TRIPRISM_H
#define TRIPRISM_H

class TriPrism : public Triangle
{
public:
	TriPrism(const float &, const float &, float = 0.0, float = 0.0, float = 0.0, float = 0.0);

	void setHeight(float);
	float getHeight() const;

	void setVol();
	float getTpVol() const;

	virtual float area() const;
	virtual float perimeter() const;
	virtual float volume() const;

	
private:
	float height;
	float TP_volume;
};

#endif